﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace ERP.WH.Models.Entity;

[Table("wh_warehouse")]
public partial class WhWarehouse
{
    [Key]
    public long WarehouseId { get; set; }

    public long? ContactPersonId { get; set; }

    public string WarehouseCode { get; set; } = null!;

    public string WarehouseName { get; set; } = null!;

    public string? Location { get; set; }

    public string? ContactPhone { get; set; }

    /// <summary>
    /// 仓库面积(m²)
    /// </summary>
    public decimal? Area { get; set; }

    public string? Description { get; set; }

    /// <summary>
    /// 1-启用, 0-停用
    /// </summary>
    public sbyte? Status { get; set; }

    public DateTime? CreatedAt { get; set; }

    public DateTime? UpdatedAt { get; set; }

    public sbyte? IsDelete { get; set; }
}
